"""
@author: Sergiy Tsymbalyuk
"""

import logging

from repoze.what.plugins.pylonshq import ControllerProtector
from repoze.what.predicates import has_permission

from chowa.lib.site.druids import MergerDruidController
from hrms.model.organization import Order

log = logging.getLogger(__name__)

@ControllerProtector(has_permission('hrms.administer.orders'))
class MergeController(MergerDruidController):
    __model__ = Order
